﻿/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

import com.beetlestech.nfe.fw.core.type.Alias;

/**
 *Biz DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2015/03/05             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class MstfileInfoDTO implements java.io.Serializable, Comparable<MstfileInfoDTO> {

	private static final long serialVersionUID = 1L;

	private Integer fileid = null;

	private String path = null;

	private Integer type = null;

	private java.sql.Date lastdate = null;

	private java.sql.Time lasttime = null;

	private String filename = null;

	private Integer coursetypec = null;

	private Integer year = null;
	
	private String cname=null;

	public Integer getfileid() {
		return this.fileid;
	}

	public void setfileid(
			Integer fileid) {
		this.fileid = fileid;
	}

	public String getpath() {
		return this.path;
	}

	public void setpath(
			String path) {
		this.path = path;
	}

	public Integer gettype() {
		return this.type;
	}

	public void settype(
			Integer type) {
		this.type = type;
	}

	public java.sql.Date getlastdate() {
		return this.lastdate;
	}

	public void setlastdate(
			java.sql.Date lastdate) {
		this.lastdate = lastdate;
	}

	public java.sql.Time getlasttime() {
		return this.lasttime;
	}

	public void setlasttime(
			java.sql.Time lasttime) {
		this.lasttime = lasttime;
	}

	public String getfilename() {
		return this.filename;
	}

	public void setfilename(
			String filename) {
		this.filename = filename;
	}

	public Integer getcoursetypec() {
		return this.coursetypec;
	}

	public void setcoursetypec(
			Integer coursetypec) {
		this.coursetypec = coursetypec;
	}

	public Integer getyear() {
		return this.year;
	}

	public void setyear(
			Integer year) {
		this.year = year;
	}

	
  	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
			MstfileInfoDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}

